fix(sonarqube): align template standards#685
Conversation
Standards Check (GR-079) — PASSEvery changed chart fully passes standards-check. |
📝 WalkthroughWalkthroughThis PR adds ChangesChart feature updates
CI fixture updates
Estimated code review effort: 3 (Moderate) | ~25 minutes 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Comment |
🟢 Security Scan:
|
| Framework | Score |
|---|---|
| MITRE + NSA + SOC2 | 94.44445% |
✅ Security posture acceptable.
There was a problem hiding this comment.
💡 Codex Review
With this hook manifest moved to chart-root tests/, it is no longer rendered into the installed release: I checked helm help test, which says tests are defined in the chart that was installed, and verified with helm template that top-level tests/ hook files are absent while templates/tests/ hooks are emitted. In any install where users rely on the documented helm test/tests.enabled smoke check, Helm has no connection pod to run, so the status endpoint validation silently disappears.
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
5d09110 to
b90c025
Compare
b90c025 to
9d60f5d
Compare
## Summary - Document `networkPolicy.egress.extraEgress` and `extraManifests` for SonarQube. - Add SonarQube playground allowlist coverage and NetworkPolicy extra egress controls. - Keep the chart docs aligned with the template standards update in helmforgedev/charts#685. ## Related - Syncs with helmforgedev/charts#685. - Issue: helmforgedev/charts#633. ## Validation - `npm run lint` - `npm run format:check` - `npm run build` - `make site-sync-check CHART=sonarqube` - `make release-check REPO=site` - `make attribution-check REPO=site` <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * Added a new collapsible Network Policy section for the SonarQube chart in the playground, including options for enabling egress rules, setting an extra destination CIDR, and specifying an extra TCP port. * Introduced support for rendering additional extension manifests, with documentation and examples. * **Documentation** * Expanded the SonarQube chart docs with the new Network Policy options and `extraManifests` usage. * Added examples showing how to include extra Kubernetes resources and egress rules. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
Summary
templates/testssohelm testremains functionalnetworkPolicy.egress.extraEgressandextraManifestssupport with schema and unit coverageValidation
make validate-chart CHART=sonarqube TIMEOUT=1200: FULLY VALIDATED (18 layers), including k3d behavioral scenarios for default, dual-stack, external-db, external-secrets, gateway-api, hardening, ingress, plugins, and smoke.make site-sync-check CHART=sonarqubemake release-check REPO=chartspassed with the expected GR-077 post-merge release confirmation warning.make attribution-check REPO=chartsSite PR: helmforgedev/site#363
Issue: #633
Summary by CodeRabbit
extraManifestssupport to include additional resources in the release.networkPolicy.egress.extraEgressand improved conditional egress rendering.